<template>
  <div class="login">
    <LoginLight v-if="!themeMedia"/>
    <loginDark v-else/>
  </div>
</template>
<script setup>

import {useStore} from "vuex";
import {computed} from "vue";
import LoginLight from './loginLight.vue'
import LoginDark from './loginDark.vue'
let {state} = useStore();
let themeMedia = computed(()=>state.themeMedia)
</script>

<style lang="scss" scoped>
.login{

}
</style>